package com.ruoyi.edu.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程收藏业务对象 edu_course_collect
 *
 * @author ssl
 * @date 2022-08-31
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EduCourseCollectBo extends BaseEntity {

    /**
     * 收藏ID
     */
    @NotBlank(message = "收藏ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 课程ID
     */
    @NotBlank(message = "课程ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String courseId;


    /**
     * 用户id
     */
    @NotBlank(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String memberId;


}
